home *** CD-ROM | disk | FTP | other *** search
- /*------------------------------------------------------------------------------
- *
- * Apple Developer Technical Support
- *
- *
- *
- * Program: AEObject-Edition Sample
- * File: Macros.h - C Source
- *
- * by: C.K. Haun <TR>
- *
- * Copyright © 1991-1992 Apple Computer, Inc.
- * All rights reserved.
- *
- *------------------------------------------------------------------------------
- * This file contains all the C Macros I use in this program. If you find
- * the macros hard to read (instead of easier, which is the reason for the
- * macro) do a global search and replace with the values here
- * all macros start with a small 'm'
- * I don't use many, never trusted macros.....
- *----------------------------------------------------------------------------*/
- #ifndef __MACROS__
- #define __MACROS__
- #define mDispatch(handle,routine,paramter) (ProcPtr)((*handle)->routine)(paramter)
- #define mAEErrorDisplay(A,B) if(B){AddAEText("\p \nAppleEvent error ");AddAEText(A);AddAENum(B);AEErrorText(B);}
- #define mVerboseOutput(A) if(gPreferences.verboseAE)AddAEText(A);
- #endif
-